<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!--头部开始 -->
<div class="top">
  <div class="hyt">
  <div id="hy">您好，欢迎访问内蒙古草都饲草料研究院！</div>
  <div id="sc"><A title="将本站设为首页"  style="padding-left:23px;" onclick="var strHref=window.location.href;this.style.behavior='url(#default#homepage)';this.setHomePage('http://http://www.ynbp.cn/');" href="#">设为主页</a>&nbsp;&nbsp;<A href="javascript:window.external.AddFavorite('Http://http://www.ynbp.cn','内蒙古草都饲草料研究院')" target="_self" style="padding-left:19px;" >加入收藏</a>&nbsp;&nbsp;<!-- <a href="lxwm.html"  style="padding-left:22px;">联系我们</a> --></div>
  <div class="clear"></div>
</div>
<div class="top_main">
  <!--banner开始 201431116203562891.jpg -->
  <div class="banner">
  <script>
	var widths=1002;
	var heights=218;
	img1 = new Image (); img1.src='static/uploadfile/banner.jpg';
	url1 = new Image (); url1.src='';
	img2 = new Image (); img2.src='static/uploadfile/banner.jpg';
	url2 = new Image (); url2.src='';
	var counts=2;
	
	
	var nn=1;
	var key=0;
	function change_img()
	{if(key==0){key=1;}
	else if(document.all)
	{document.getElementById("pic").filters[0].Apply();document.getElementById("pic").filters[0].Play(duration=2);}
	eval('document.getElementById("pic").src=img'+nn+'.src');
	eval('document.getElementById("url").href=url'+nn+'.src');
	for (var i=1;i<=counts;i++){document.getElementById("xxjdjj"+i).className='axx';}
	document.getElementById("xxjdjj"+nn).className='bxx';
	nn++;if(nn>counts){nn=1;}
	tt=setTimeout('change_img()',6000);}
	document.write('<div style="width:'+widths+'px;height:'+heights+'px;overflow:hidden;text-overflow:clip;">');
	document.write('<div><a id="url"><img id="pic" style="border:0px;filter:progid:dximagetransform.microsoft.wipe(gradientsize=1.0,wipestyle=4, motion=forward)" width='+widths+' height='+heights+' /></a></div>');
	//for(var i=1;i<counts+1;i++){document.write('<a href="javascript:changeimg('+i+');" id="xxjdjj'+i+'" class="axx" target="_self">'+i+'</a>');}
	for(var i=1;i<counts+1;i++){document.write('<a href="javascript:changeimg('+i+');" id="xxjdjj'+i+'" class="axx" target="_self"></a>');}
	document.write('</div>');
	change_img();
</script>
</div>
  <!--banner结束 -->
  <div class="nav_div">
    <!--导航条开始 -->
    <div class="nav">
      <ul>
        <li style=" background:none;"><a href="index.jsp">网站首页</a></li>
        <li><a href="dic/goAboutUs.do">关于我们</a></li>
        <li><a href="news/listNews.do">新闻动态</a></li>
        <li><a href="science/listScience.do">科研成果</a></li>
		<li><a href="coo/listCoo.do">合作交流</a></li>
		<li><a href="tec/listTec.do">技术服务</a></li>
		<li><a href="dic/listDic.do">科研平台</a></li>
        <li><a href="pro/listpro.do">产品展示</a></li>
		<li><a href="guide/listGuide.do">种养指导</a></li>
        <li><a href="party/listParty.do">党建工作</a></li>
        <li><a href="msg/listmsg.do">网上留言</a></li>
        <li><a href="con/listCon.do">联系我们</a></li>   
      </ul>
    </div>
    <div class="clear"></div>
    <!--导航条结束 -->
    <!--天气开始 -->
    <div class="tq"><span class="tq_span"><script language="JavaScript">
	var date = new Date();
    var month = date.getMonth() + 1;
    var strDate = date.getDate();
    var day;
    if (month >= 1 && month <= 9) {
        month = "0" + month;
    }
    if (strDate >= 0 && strDate <= 9) {
        strDate = "0" + strDate;
    }
    if(date.getDay()==0) day = "星期日" ;
	if(date.getDay()==1) day = "星期一" ;
	if(date.getDay()==2) day = "星期二" ;
	if(date.getDay()==3) day = "星期三" ;
	if(date.getDay()==4) day = "星期四" ;
	if(date.getDay()==5) day = "星期五" ;
	if(date.getDay()==6) day = "星期六" ;
    var currentdate = date.getFullYear() + "年" + month + "月" + strDate + "日" +" "+ day;
    document.write(currentdate);
</script> </span> <!-- <iframe style="width:160px; height:28px; margin-top:7px;" src="http://m.weather.com.cn/m/p2/weather1.htm?id=101290101T " marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe> -->
	</div>
    <!--天气结束 -->
    <!--搜素开始 -->
    <div class="ss">
    <script language="javascript">
  	// 表单提交客户端检测
	function doSubmit(){
		if (document.searchform.keyword.value=="" || document.searchform.keyword.value=="请输入您要查询的内容"){
			alert("搜索关键字不能为空！");
			return false;
		}
	}
	</script>
   <form action="portal/search.do" method="post" name="searchform" >
   <input name="keyword" type="text" value="请输入您要查询的内容" onFocus="document.getElementById('keyword').value=''" id="keyword" class="yp_s_t"/><input name="" type="submit"  class="yp_s_b" onClick="return doSubmit()" value=" " />
   </form>
    </div>
    <!--搜索结束 -->
    <div class="clear"></div>
  </div>
</div>

</div>
<!--头部结束 -->